using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN GiaoVienEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:15/10/2011 10:08:36</para>
	/// <para>Class Name: GiaoVienEntity</para>
	/// <para>Description: ClassGiaoVienEntity store data of table GiaoVien</para>
	///</summary>

	[DataContract]
	public partial class GiaoVienEntity{


		private bool _InternalChangedIsNullGiaoVien_ID=true;
		private bool _IsNullGiaoVien_ID=true;
		private bool _InternalChangedIsNullMaGiaoVien=true;
		private bool _IsNullMaGiaoVien=true;
		private bool _InternalChangedIsNullHoTenGiaoVien=true;
		private bool _IsNullHoTenGiaoVien=true;
		private bool _InternalChangedIsNullNgaySinh=true;
		private bool _IsNullNgaySinh=true;
		private bool _InternalChangedIsNullGioiTinh=true;
		private bool _IsNullGioiTinh=true;
		private bool _InternalChangedIsNullDiaChi=true;
		private bool _IsNullDiaChi=true;
		private bool _InternalChangedIsNullEmail=true;
		private bool _IsNullEmail=true;
		private bool _InternalChangedIsNullDienThoai=true;
		private bool _IsNullDienThoai=true;
		private bool _InternalChangedIsNullBoMon_ID=true;
		private bool _IsNullBoMon_ID=true;
		private int _GiaoVien_ID;
		private string _MaGiaoVien;
		private string _HoTenGiaoVien;
		private string _NgaySinh;
		private Byte _GioiTinh;
		private string _DiaChi;
		private string _Email;
		private string _DienThoai;
		private int _BoMon_ID;
		[DataMember]
		public bool IsNullGiaoVien_ID{
			get{return _IsNullGiaoVien_ID;}
			set{if(!_InternalChangedIsNullGiaoVien_ID)_IsNullGiaoVien_ID=value;}
		}
		[DataMember]
		public bool IsNullMaGiaoVien{
			get{return _IsNullMaGiaoVien;}
			set{if(!_InternalChangedIsNullMaGiaoVien)_IsNullMaGiaoVien=value;}
		}
		[DataMember]
		public bool IsNullHoTenGiaoVien{
			get{return _IsNullHoTenGiaoVien;}
			set{if(!_InternalChangedIsNullHoTenGiaoVien)_IsNullHoTenGiaoVien=value;}
		}
		[DataMember]
		public bool IsNullNgaySinh{
			get{return _IsNullNgaySinh;}
			set{if(!_InternalChangedIsNullNgaySinh)_IsNullNgaySinh=value;}
		}
		[DataMember]
		public bool IsNullGioiTinh{
			get{return _IsNullGioiTinh;}
			set{if(!_InternalChangedIsNullGioiTinh)_IsNullGioiTinh=value;}
		}
		[DataMember]
		public bool IsNullDiaChi{
			get{return _IsNullDiaChi;}
			set{if(!_InternalChangedIsNullDiaChi)_IsNullDiaChi=value;}
		}
		[DataMember]
		public bool IsNullEmail{
			get{return _IsNullEmail;}
			set{if(!_InternalChangedIsNullEmail)_IsNullEmail=value;}
		}
		[DataMember]
		public bool IsNullDienThoai{
			get{return _IsNullDienThoai;}
			set{if(!_InternalChangedIsNullDienThoai)_IsNullDienThoai=value;}
		}
		[DataMember]
		public bool IsNullBoMon_ID{
			get{return _IsNullBoMon_ID;}
			set{if(!_InternalChangedIsNullBoMon_ID)_IsNullBoMon_ID=value;}
		}
		[DataMember]
		public int GiaoVien_ID{
			get{return _GiaoVien_ID;}
			set{
				_GiaoVien_ID=value;
				if(_GiaoVien_ID!=null){
					_IsNullGiaoVien_ID=false;
					_InternalChangedIsNullGiaoVien_ID=true;
				}
			}
		}
		[DataMember]
		public string MaGiaoVien{
			get{return _MaGiaoVien;}
			set{
				_MaGiaoVien=value;
				if(_MaGiaoVien!=null){
					_IsNullMaGiaoVien=false;
					_InternalChangedIsNullMaGiaoVien=true;
				}
			}
		}
		[DataMember]
		public string HoTenGiaoVien{
			get{return _HoTenGiaoVien;}
			set{
				_HoTenGiaoVien=value;
				if(_HoTenGiaoVien!=null){
					_IsNullHoTenGiaoVien=false;
					_InternalChangedIsNullHoTenGiaoVien=true;
				}
			}
		}
		[DataMember]
		public string NgaySinh{
			get{return _NgaySinh;}
			set{
				_NgaySinh=value;
				if(_NgaySinh!=null){
					_IsNullNgaySinh=false;
					_InternalChangedIsNullNgaySinh=true;
				}
			}
		}
		[DataMember]
		public Byte GioiTinh{
			get{return _GioiTinh;}
			set{
				_GioiTinh=value;
				if(_GioiTinh!=null){
					_IsNullGioiTinh=false;
					_InternalChangedIsNullGioiTinh=true;
				}
			}
		}
		[DataMember]
		public string DiaChi{
			get{return _DiaChi;}
			set{
				_DiaChi=value;
				if(_DiaChi!=null){
					_IsNullDiaChi=false;
					_InternalChangedIsNullDiaChi=true;
				}
			}
		}
		[DataMember]
		public string Email{
			get{return _Email;}
			set{
				_Email=value;
				if(_Email!=null){
					_IsNullEmail=false;
					_InternalChangedIsNullEmail=true;
				}
			}
		}
		[DataMember]
		public string DienThoai{
			get{return _DienThoai;}
			set{
				_DienThoai=value;
				if(_DienThoai!=null){
					_IsNullDienThoai=false;
					_InternalChangedIsNullDienThoai=true;
				}
			}
		}
		[DataMember]
		public int BoMon_ID{
			get{return _BoMon_ID;}
			set{
				_BoMon_ID=value;
				if(_BoMon_ID!=null){
					_IsNullBoMon_ID=false;
					_InternalChangedIsNullBoMon_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END GiaoVienEntityBase*****************************************/
	/*****************************************************************************************************/
}

